diff -ur gsm-1.0-pl12.orig/src/code.c gsm-1.0-pl12/src/code.c
--- gsm-1.0-pl12.orig/src/code.c	2006-04-26 22:16:50.000000000 +0300
+++ gsm-1.0-pl12/src/code.c	2007-08-19 12:18:01.000000000 +0300
@@ -8,6 +8,7 @@
 
 #include	"config.h"
 
+#include <string.h>
 
 #ifdef	HAS_STDLIB_H
 #include	<stdlib.h>
